Optimal. Leaf size=607 \[ \frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}+\frac {2 d \sqrt {a+b x^3}}{3 a^2}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {5 \sqrt [3]{b} c \sqrt {a+b x^3}}{3 a^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 a^{3/2}}-\frac {5 \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{2\ 3^{3/4} a^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt {2+\sqrt {3}} \left (5 \left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a^{5/3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.37, antiderivative size = 607, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 11, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.440, Rules used = {1843, 1849,
1846, 272, 65, 214, 1900, 267, 1892, 224, 1891} \begin {gather*} -\frac {\sqrt {2+\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (5 \left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) F\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a^{5/3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {5 \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{2\ 3^{3/4} a^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 a^{3/2}}+\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {5 \sqrt [3]{b} c \sqrt {a+b x^3}}{3 a^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 d \sqrt {a+b x^3}}{3 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 224
Rule 267
Rule 272
Rule 1843
Rule 1846
Rule 1849
Rule 1891
Rule 1892
Rule 1900
Rubi steps
\begin {align*} \int \frac {c+d x+e x^2}{x^2 \left (a+b x^3\right )^{3/2}} \, dx &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}-\frac {2 \int \frac {-\frac {3 b c}{2}-\frac {3 b d x}{2}-\frac {1}{2} b e x^2-\frac {b^2 c x^3}{2 a}-\frac {3 b^2 d x^4}{2 a}}{x^2 \sqrt {a+b x^3}} \, dx}{3 a b}\\ &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {\int \frac {3 a b d+a b e x+\frac {5}{2} b^2 c x^2+3 b^2 d x^3}{x \sqrt {a+b x^3}} \, dx}{3 a^2 b}\\ &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {\int \frac {a b e+\frac {5}{2} b^2 c x+3 b^2 d x^2}{\sqrt {a+b x^3}} \, dx}{3 a^2 b}+\frac {d \int \frac {1}{x \sqrt {a+b x^3}} \, dx}{a}\\ &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {\int \frac {a b e+\frac {5}{2} b^2 c x}{\sqrt {a+b x^3}} \, dx}{3 a^2 b}+\frac {d \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^3\right )}{3 a}+\frac {(b d) \int \frac {x^2}{\sqrt {a+b x^3}} \, dx}{a^2}\\ &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}+\frac {2 d \sqrt {a+b x^3}}{3 a^2}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {\left (5 b^{2/3} c\right ) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{6 a^2}+\frac {(2 d) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^3}\right )}{3 a b}-\frac {\left (5 \left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{6 a^{5/3}}\\ &=\frac {2 x \left (a e-b c x-b d x^2\right )}{3 a^2 \sqrt {a+b x^3}}+\frac {2 d \sqrt {a+b x^3}}{3 a^2}-\frac {c \sqrt {a+b x^3}}{a^2 x}+\frac {5 \sqrt [3]{b} c \sqrt {a+b x^3}}{3 a^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 a^{3/2}}-\frac {5 \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{2\ 3^{3/4} a^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt {2+\sqrt {3}} \left (5 \left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a^{5/3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 11.61, size = 542, normalized size = 0.89 \begin {gather*} \frac {-3 a c-5 b c x^3+2 a x (d+e x)}{3 a^2 x \sqrt {a+b x^3}}-\frac {4 \sqrt {a} d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )+\frac {4 a e \left (\sqrt [3]{-1} \sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {\sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {\frac {\sqrt [3]{-1} \sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} F\left (\sin ^{-1}\left (\sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}}\right )|\sqrt [3]{-1}\right )}{\sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {a+b x^3}}+\frac {10 \sqrt {2} \sqrt [3]{a} \sqrt [3]{b} c \left (\sqrt [3]{-1} \sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {\sqrt [3]{-1} \sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {\frac {i \left (1+\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{3 i+\sqrt {3}}} \left (\left (-1+(-1)^{2/3}\right ) E\left (\sin ^{-1}\left (\frac {\sqrt {\sqrt [6]{-1}-\frac {i \sqrt [3]{b} x}{\sqrt [3]{a}}}}{\sqrt [4]{3}}\right )|\frac {\sqrt [3]{-1}}{-1+\sqrt [3]{-1}}\right )+F\left (\sin ^{-1}\left (\frac {\sqrt {\sqrt [6]{-1}-\frac {i \sqrt [3]{b} x}{\sqrt [3]{a}}}}{\sqrt [4]{3}}\right )|\frac {\sqrt [3]{-1}}{-1+\sqrt [3]{-1}}\right )\right )}{\sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {a+b x^3}}}{6 a^2} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 825, normalized size = 1.36 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.13, size = 377, normalized size = 0.62 \begin {gather*} \left [\frac {{\left (b^{2} d x^{4} + a b d x\right )} \sqrt {a} \log \left (\frac {b^{2} x^{6} + 8 \, a b x^{3} - 4 \, {\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {a} + 8 \, a^{2}}{x^{6}}\right ) + 4 \, {\left (a b e x^{4} + a^{2} e x\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 10 \, {\left (b^{2} c x^{4} + a b c x\right )} \sqrt {b} {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - 2 \, {\left (5 \, b^{2} c x^{3} - 2 \, a b e x^{2} - 2 \, a b d x + 3 \, a b c\right )} \sqrt {b x^{3} + a}}{6 \, {\left (a^{2} b^{2} x^{4} + a^{3} b x\right )}}, \frac {{\left (b^{2} d x^{4} + a b d x\right )} \sqrt {-a} \arctan \left (\frac {{\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {-a}}{2 \, {\left (a b x^{3} + a^{2}\right )}}\right ) + 2 \, {\left (a b e x^{4} + a^{2} e x\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 5 \, {\left (b^{2} c x^{4} + a b c x\right )} \sqrt {b} {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - {\left (5 \, b^{2} c x^{3} - 2 \, a b e x^{2} - 2 \, a b d x + 3 \, a b c\right )} \sqrt {b x^{3} + a}}{3 \, {\left (a^{2} b^{2} x^{4} + a^{3} b x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 6.30, size = 267, normalized size = 0.44 \begin {gather*} d \left (\frac {2 a^{3} \sqrt {1 + \frac {b x^{3}}{a}}}{3 a^{\frac {9}{2}} + 3 a^{\frac {7}{2}} b x^{3}} + \frac {a^{3} \log {\left (\frac {b x^{3}}{a} \right )}}{3 a^{\frac {9}{2}} + 3 a^{\frac {7}{2}} b x^{3}} - \frac {2 a^{3} \log {\left (\sqrt {1 + \frac {b x^{3}}{a}} + 1 \right )}}{3 a^{\frac {9}{2}} + 3 a^{\frac {7}{2}} b x^{3}} + \frac {a^{2} b x^{3} \log {\left (\frac {b x^{3}}{a} \right )}}{3 a^{\frac {9}{2}} + 3 a^{\frac {7}{2}} b x^{3}} - \frac {2 a^{2} b x^{3} \log {\left (\sqrt {1 + \frac {b x^{3}}{a}} + 1 \right )}}{3 a^{\frac {9}{2}} + 3 a^{\frac {7}{2}} b x^{3}}\right ) + \frac {c \Gamma \left (- \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{3}, \frac {3}{2} \\ \frac {2}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} x \Gamma \left (\frac {2}{3}\right )} + \frac {e x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {3}{2} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {4}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.80, size = 136, normalized size = 0.22 \begin {gather*} \frac {2\,d}{3\,a\,\sqrt {b\,x^3+a}}+\frac {d\,\ln \left (\frac {{\left (\sqrt {b\,x^3+a}-\sqrt {a}\right )}^3\,\left (\sqrt {b\,x^3+a}+\sqrt {a}\right )}{x^6}\right )}{3\,a^{3/2}}-\frac {2\,c\,{\left (\frac {a}{b\,x^3}+1\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {3}{2},\frac {11}{6};\ \frac {17}{6};\ -\frac {a}{b\,x^3}\right )}{11\,x\,{\left (b\,x^3+a\right )}^{3/2}}+\frac {e\,x\,{\left (\frac {b\,x^3}{a}+1\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{3},\frac {3}{2};\ \frac {4}{3};\ -\frac {b\,x^3}{a}\right )}{{\left (b\,x^3+a\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________